package com.dzl.fee.service;

import com.dzl.base.service.BaseService;
import com.dzl.fee.pojo.WelfareFeeUserCustomers;
import com.dzl.fee.pojo.query.WelfareFeeUserCustomersQuery;
import com.dzl.fee.pojo.vo.WelfareFeeUserCustomersVo;
import com.github.pagehelper.PageInfo;

/**
 * 客户信息表(WelfareFeeUserCustomers)表服务接口
 *
 * @author wangjian
 * @date 2021-08-03 15:12:33
 */
public interface WelfareFeeUserCustomersService extends BaseService<WelfareFeeUserCustomers> {

    /**
     * 客户列表
     * @date 2021/8/3 0003 15:59
     * @author wangjian
     * @param query 分页查询条件
     * @return java.util.List<com.dzl.fee.customer.pojo.vo.WelfareFeeUserCustomersVo>
     */
    PageInfo<WelfareFeeUserCustomersVo> getCustomersVoListPage(WelfareFeeUserCustomersQuery query);

    /**
     * 保存客户
     * @date 2021/8/3 0003 17:01
     * @author wangjian
     * @param welfareFeeUserCustomers 客户信息
     * @return java.lang.Integer
     */
    Integer updateCustomers(WelfareFeeUserCustomers welfareFeeUserCustomers);

    /**
     * 删除客户以及客户和业务员的关联关系
     * @date 2021/8/3 0003 17:24
     * @author wangjian
     * @param id 客户ID
     * @return java.lang.Integer
     */
    Integer updateCustomersStatus(Integer id);

}